< previous page page_185 next page >

Page 185
Note.gif
For the following exercise, please make sure that you have instructed Crystal Reports Pro to utilize the Report Gallery when starting a new report. To do this, Select File | Options. . . , and then select the New Report tab. The option Use Report Gallery for new reports should be checked.

The Detail Band
If you haven't already done so, start Crystal Reports Pro. Select New . . . from the File menu and then select Standard from the Create New Report dialog box. Next, click the Data File icon in the Create Report Expert Dialog. Locate and load the CRYSRPT.MDB Microsoft Access database file that ships with this book. It can be found in the ..\\TYSDBVB5\SOURCE\DATA directory. Your screen should look similar to the one shown in Figure 6.3. Click the database and select Add to load the database into the report. Press Done once the database is loaded.
0185-01.jpg
Figure 6.3.
Loading a database with Crystal Reports Pro.
When the database is loaded, Crystal Reports Pro lets you move through the Create Report Expert tabbed dialog to create the report definition. Click the tab labeled 3:Fields to display a list of available tables and fields from the database. (See Figure 6.4.)
First, you'll add a database field to the detail band of the report. Double-click the EntryNbr field in the Database Fields box to add the field to the Report Fields. Now, click the Preview Report button to display the report and then select the Design Tab. Your report form should look like the one shown in Figure 6.5.

 
< previous page page_185 next page >

If you like this book, buy it!